import Joi from '@hapi/joi';


export const drawImageOption = {
  query: {
    platform: Joi.string()
      .required(),
    type: Joi.string()
      .required()
  },
  body: {
    option: Joi.object({
      text: Joi.string().required(),
      style: Joi.string().required(),
      resolution: Joi.string().required()
    })
  }
}


export const queryDrawImageOption = {
  query: {
    platform: Joi.string()
      .required(),
    type: Joi.string()
      .required(),
    taskId: Joi.number()
      .required()
  }
}

